import request from '@/utils/request'

// 查询新手礼包配置列表
export function listAppnovicepackageconfiguration(query) {
  return request({
    url: '/system/appnovicepackageconfiguration/list',
    method: 'get',
    params: query
  })
}

// 查询新手礼包配置详细
export function getAppnovicepackageconfiguration(id) {
  return request({
    url: '/system/appnovicepackageconfiguration/' + id,
    method: 'get'
  })
}

// 新增新手礼包配置
export function addAppnovicepackageconfiguration(data) {
  return request({
    url: '/system/appnovicepackageconfiguration',
    method: 'post',
    data: data
  })
}

// 修改新手礼包配置
export function updateAppnovicepackageconfiguration(data) {
  return request({
    url: '/system/appnovicepackageconfiguration',
    method: 'put',
    data: data
  })
}

// 删除新手礼包配置
export function delAppnovicepackageconfiguration(id) {
  return request({
    url: '/system/appnovicepackageconfiguration/' + id,
    method: 'delete'
  })
}
